<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="ECSHOP v2.7.2" name="Generator">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>布尔商城首页</title>
<!--<link href="favicon.ico" rel="shortcut icon">-->
<!--<link type="image/gif" href="animated_favicon.gif" rel="icon">-->
<link type="text/css" rel="stylesheet" href="./view/front/css/style.css">
</head>
<body>

<!-- 包含头部 -->
<?php include('./view/front/header.html'); ?>

<div class="blank"></div>
<div class="block">
<div id="adSmall">
</div>
</div>
<div class="blank"></div>
<div class="block clearfix">
<div class="layout_1">
        <div class="layout_left">
        	<div class="lib_adv_1">
        	   <a target="_blank" href="goods.php?goods_id=1"><img src="./view/front/images/20120831-0.jpg"></a>
            </div>
            <div class="blank"></div>
        </div>
        <div class="layout_right">
            <div class="shop_news">
                    <div class="lib_top">网站简介： </div>
                    <div class="lib_mid">
                        <!--<ul class="listitem">-->
                              <!--<li>-->
                                <!--<a title="阿根廷企业家联盟访问中意斯正装" href="article.php?id=55" target="_blank">阿根廷企业家联盟访问中意斯正装</a>-->
                                <!--</li>-->
                        <!--</ul>-->

                    </div>
                    <div class="lib_down" style="margin: 0px 3px;">
                        <ul>
                            <li style="height: 40px;">
                                <!--<a title="#" href="#" target="_blank">-->
                                    <!--后台地址：<?php print_r($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'].'admin'); ?>-->
                                    后台地址：<?php print_r(SER_ROOT.    'admin'); ?>
                                <!--</a>-->
                            </li>
                            <hr/>
                            <li style="height: 230px;">
                                <!--<a title="" href="" target="_blank">-->
                                    网站构造主要实现方式：<br/>
                                    &nbsp;&nbsp;&nbsp;&nbsp;纯原生开发： 因为之前主要使用框架开发，感觉离原生底层越来越远。只会用框架封装好的方法而忽略了底层。<br/>
                                    所以这段正好赋闲在家，就做个原生的商城练练手。<br/>
                                    &nbsp;&nbsp;&nbsp;&nbsp;虽说是原生开发，但是为了开发速度，避免大量重复代码，
                                    后端采用mvc的结构。每个模型都继承同一个父类，父类中有一些常用的方法。<br/>
                                    &nbsp;&nbsp;&nbsp;&nbsp;包括数据处理，验证等
                                    模拟tp封装了一些方法。
                                    包括数据库类、文件上传类、图片处理类、分页类、购物车类等。
                                <!--</a>-->
                            </li>
                            <hr/>
                            <li style="height: 95px;">
                                <!--<a title="#" href="#" target="_blank">-->
                                    主要实现功能有：<br/>
                                    &nbsp;&nbsp;&nbsp;&nbsp;前台： 登陆、注册、面包屑导航、浏览历史、商品分页、购物车结算等。<br/>
                                    &nbsp;&nbsp;&nbsp;&nbsp;后台： 商品增删改查、商品类别无限极分类等。
                                <!--</a>-->
                            </li>
                        </ul>
                    </div>
            </div>
            <!--<div class="blank"></div>-->
            <!--<div class="ad_weizhi">-->
                <!--<table cellspacing="0" cellpadding="0">-->
                   <!--<tbody>-->
                       <!--<tr>-->
                           <!--<td>-->
                               <!--<a target="_blank" href="goods.php?goods_id=1&amp;uri=http%3A%2F%2Fwww.zhongyis.com%2Fgoods.php%3Fid%3D305">-->
                                   <!--<img width="235" height="124" border="0" src="./view/front/images/1346421362173851193.jpg">-->
                               <!--</a>-->
                           <!--</td>-->
                       <!--</tr>-->
                   <!--</tbody>-->
                <!--</table>-->
            <!--</div>-->
            <!--<div class="ad_weizhi">-->
                <!--<table cellspacing="0" cellpadding="0">-->
                   <!--<tbody>-->
                       <!--<tr>-->
                           <!--<td>-->
                               <!--<a target="_blank" href="goods.php?goods_id=1&amp;uri=http%3A%2F%2Fwww.zhongyis.com%2Fgoods.php%3Fid%3D67">-->
                                   <!--<img width="235" height="124" border="0" src="./view/front/images/1346421292612709323.jpg">-->
                               <!--</a>-->
                           <!--</td>-->
                       <!--</tr>-->
                   <!--</tbody>-->
                <!--</table>-->
            </div>
        </div>
</div>
  
<div style="float:left;width:100%;" id="rec_best" class="shop_right_lib"><div class="np_index_content_part">
  <div id="itemNew" class="itemTit">
       <div><img src="./view/front/images/newtitle.gif"></div>
       <div class="more"><a href="#">更多请点击 &gt;&gt;</a></div>
  </div>
  
  
  
  <div class="blank"></div>
  
  <div class="  ">
      <div id="show_new_area" class="tabItem" style="width:980px;">
             <div class="grid">
                            <!-- {foreach $newlist as $k=>$g} {$g.goods_name|truncate:10:'……'}-->
                     <?php foreach($newlist as $v){ ?>
                    <div class="goodsItem">
                       <div class="goodsPic">
                        	<a class="preview" href="goods.php?goods_id=<?php echo $v['goods_id'];?>">
                            <img alt="<?php echo $v['goods_name'];?>" src="<?php echo $v['thumb_img'];?>">
                          </a>
                       </div>
                       <div class="goodsInfo">
                            	<div class="goodsSn">
                                    <a class="f_white" title="goods_name" href="goods.php?goods_id=<?php echo $v['goods_id'];?>">
                                      <?php echo mb_substr($v['goods_name'],0,10,'utf-8'); ?>
                                    </a>
                                </div>
                            	
                            	<span class="f_gray">市场价：</span>
                                <font class="f_market">￥<?php echo $v['market_price']; ?>元</font><br>
                               中意价：<font class="f_shop">￥<?php echo $v['shop_price'];?>元</font>
                       </div>
                    </div>
                    <?php } ?>

              </div>
       </div>
  </div>
</div>
</div>
<div class="blank"></div>
  
<div style="float:left;width:100%;" id="rec_best" class="shop_right_lib"><div class="np_index_content_part">
 <div id="itemBest" class="itemTit">
      <div><img src="./view/front/images/42.jpg"></div>
      <div class="more"><a href="./category.php?cat_id=4">更多请点击 &gt;&gt;</a></div>
  </div>
  <div class="blank5"></div>
  <div class="cat_ads_box clearfix" style="width: 980px;">

    <?php if(count($twoWumen) >= 2){; ?>
       <div class="f_l clearfix" style="width:445px; height:300px; text-align: center">
           <a target="_blank" href="goods.php?goods_id=<?php echo $twoWumen[0]['goods_id']; ?>">
               <img height="300"  src="<?php echo $twoWumen[0]['goods_img']; ?>">
           </a>
       </div>
       <div class="f_m clearfix" style="width:280px; height:300px;text-align: center">
           <a target="_blank" href="goods.php?goods_id=<?php echo $twoWumen[1]['goods_id']; ?>">
               <img height="300" src="<?php echo $twoWumen[1]['ori_img']; ?>">
           </a>
       </div>
    <?php }; ?>
      <!--width:445px; height:300px;width:280px; height:300px;-->

      <div class="f_r clearfix">
     <div id="cat_ads_slider_42" class="cat_ads_slider">
	   <dl>
           <?php if(count($twoWumen) > 2){ foreach(array_slice($twoWumen,2) as $v){  ?>
	    	     <dt id="0">
                     <p>
                         <a target="_blank" href="goods.php?goods_id=<?php echo $v['goods_id']; ?>"><?php echo mb_substr($v['goods_name'],0,20); ?></a>
                     </p>
                 </dt>
           <?php }}; ?>

           <dd class="5" style="width: 235px; height: 118px; text-align: center;">
             <a target="_blank" href="goods.php?goods_id=<?php print_r($twoWumen[count($twoWumen)-1]['goods_id']);?>">
                 <img height="118" src="<?php print_r($twoWumen[count($twoWumen)-1]['ori_img']);?>">
             </a>
         </dd>
       </dl>
	 </div>
   </div>
  </div>
  <div class="blank"></div>
    <div class="lib_mid">                
                	<div class="tabItem" style="width: 980px;">
                	<div class="grid">
                    
                       
     
                    <?php foreach($treelist as $v){ ?>
                   <div class="goodsItem">
                        <div class="goodsPic">
                        <a class="preview" href="goods.php?goods_id=<?php echo $v['goods_id']?>">
                           <img alt="<?php echo $v['goods_name']?>" src="<?php echo $v['thumb_img']?>"></a>
                           </div>
                          <div class="goodsInfo">
                          	<div class="goodsSn">
                            <a class="f_white" title="<?php echo $v['goods_name']?>" href="goods.php?goods_id=<?php echo $v['goods_id']?>{">
                              <?php echo mb_substr($v['goods_name'],0,10,'utf-8')?>...
                              </a>
                            </div>
                            	
                          	<span class="f_gray">市场价：</span><font class="f_market">￥<?php echo $v['market_price']?>元</font><br>
                            中意价：<font class="f_shop">￥<?php echo $v['shop_price']?>元 </font>
                          </div>
                    </div>
                       <?php } ?>
                 
   
                        
                    </div>
					</div>                   
                </div>
 </div>
</div>
<div class="blank"></div>
<div style="float:left;width:100%;" id="rec_best" class="shop_right_lib"><div class="np_index_content_part">
 <div id="itemBest" class="itemTit">
      <div><img src="./view/front/images/17.jpg"></div>
      <div class="more"><a href="./category.php?cat_id=1">更多请点击 &gt;&gt;</a></div>
  </div>
  <div class="blank5"></div>
  <div class="cat_ads_box clearfix" style="width: 980px;">

      <?php if(count($twoMen) >= 2){; ?>
      <div class="f_l clearfix" style="width: 445px; height: 300px; text-align: center">
          <a target="_blank" href="goods.php?goods_id=<?php echo $twoMen[0]['goods_id']; ?>">
              <img height="300" src="<?php echo $twoMen[0]['goods_img']; ?>">
          </a>
      </div>
      <div class="f_m clearfix">
          <a target="_blank" href="goods.php?goods_id=<?php echo $twoMen[1]['goods_id']; ?>">
              <img height="300" src="<?php echo $twoMen[1]['ori_img']; ?>">
          </a>
      </div>
      <?php }; ?>

       <div class="f_r clearfix">
         <div id="cat_ads_slider_17" class="cat_ads_slider">
           <dl>
               <?php if(count($twoMen) > 2){ foreach(array_slice($twoMen,2) as $v){  ?>
                   <dt id="0">
                       <p>
                           <a target="_blank" href="goods.php?goods_id=<?php echo $v['goods_id']; ?>"><?php echo mb_substr($v['goods_name'],0,18); ?>...</a>
                       </p>
                   </dt>
               <?php }}; ?>

             <dd class="5" style="width: 235px; height: 118px; text-align: center;">
                 <div  style="text-align: center;">
                     <a target="_blank" href="goods.php?goods_id=<?php print_r($twoMen[count($twoMen)-1]['goods_id']);?>">
                         <img style="" height="118" src="<?php print_r($twoMen[count($twoMen)-1]['ori_img']);?>">
                     </a>
                 </div>

             </dd>
           </dl>
         </div>
        </div>
  </div>
  <div class="blank"></div>
    <div class="lib_mid">                
                	<div class="tabItem">
                	<div class="grid" style="width: 980px;">

                        <?php foreach($menlist as $k=>$v){ ?>
                   		<div class="goodsItem">
                        	<div class="goodsPic">
                            <a class="preview" href="goods.php?goods_id=<?php echo $v['goods_id'] ?>">
                                <img alt="<?php echo $v['goods_name']; ?>" src="<?php echo $v['thumb_img']; ?>">
                            </a>
                            </div>
                            <div class="goodsInfo">
                            	<div class="goodsSn">
                                    <a class="f_pname" title="<?php echo $v['goods_name']; ?>" href="goods.php?goods_id=<?php echo $v['goods_id'] ?>">
                                        <?php echo mb_substr($v['goods_name'],0,10); ?>...
                                    </a>
                                </div>
                            	<span class="f_gray">市场价：</span>
                                <font class="f_market">￥<?php echo $v['market_price']; ?>元</font><br>
                            	 中意价：<font class="f_shop">￥<?php echo $v['shop_price'] ?>元</font>
                            </div>
                        </div>
                        <?php } ?>

                        
                    </div>
					</div>                   
                </div>
 </div></div>
<div class="blank"></div>

<div class="blank"></div>
	
	
	
	
    <div class="blank"></div>
    
<!-- 引入尾部 -->
    <?php include('./view/front/footer.html'); ?>

</body></html>